//
//  BaseController.h
//  Medicine
//
//  Created by laber on 15/5/18.
//  Copyright (c) 2015年 laber. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HttpManger.h"

@interface BaseController : UIViewController<UITableViewDelegate,UITableViewDataSource>
- (instancetype)initViewController:(NSString *) _SBName identifier:(NSString *)_identifier;
- (void)createWithLeftStyle:(NSDictionary *)left middleStyle:(NSDictionary *)middle rightStyle:(NSDictionary *)right;//自定义导航栏样式
- (void)initChildViews;//初始化子控件
- (void)makeConstraints;//创建子控件的约束
- (void)clickBack:(UIButton *)btn;//返回按钮点击
- (void)leftNactionItemClick;//导航栏左侧点击
- (void)rightNactionItemClick:(UIButton *)btn;//导航栏右侧点击
- (void)loadHttpData;//请求数据
- (UITextField *)createTextFiled:(NSString *)leftImage plach:(NSString *)plach;
@end
